package PTA2.ti341;

import java.util.Scanner;

/**
 * @author Lenovo
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num= scanner.nextInt();
        if(num==0){
            System.out.println(32);
            return;
        }
        int x=32-Integer.numberOfLeadingZeros(num);
        int leadingZeros=32-x;
        System.out.println(leadingZeros);
        scanner.close();
    }
}
